package org.knowlege

class KnowlegeType {
	
	
		String typeCode;
		String typeName;
		Integer priority;
		String remark;
		String createUser
		Date dateCreated
		Date lastUpdated
		
		
    static constraints = {
    	typeCode()
    	typeName()
    	priority()
    	remark(widget:'textarea')
    	createUser()
    	dateCreated()
    }
    String toString(){
    	return "${typeCode}--${typeName}"
    }
}
